<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss2">
    <title>工具管理</title>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <form method="post" action="" class="layui-form" lay-filter="zmn-form" id="zmn-form" autocomplete="off">
            <!--基本信息-->
            <input type="hidden" name="robotId" th:value="${obj.robotId}">
            <div>
                <!-- <div class="layui-card-header" style="margin-top:10px;"><b>基本信息</b></div>-->
                <div class="layui-split">&nbsp;</div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label layui-form-required">钉钉群名称</label>
                        <div class="layui-input-inline" style="width: 500px;">
                            <input id="groupName" maxlength="50" type="text" name="groupName"
                                   th:value="${obj.groupName}"
                                   class="layui-input" placeholder="请输入钉钉群名称" lay-verify="required" onchange=""/>
                        </div>
                        <!--<div class="layui-input-inline" style="line-height: 34px;">
                            <span id="groupNameTips"></span>
                        </div>-->
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label layui-form-required">钉钉群地址</label>
                        <div class="layui-input-inline" style="width: 500px;">
                            <input id="accessToken" maxlength="200" type="text" name="accessToken"
                                   th:value="${obj.accessToken}"
                                   class="layui-input" placeholder="请输入钉钉群地址" lay-verify="required" onchange=""/>

                        </div>
                        <!-- <div class="layui-input-inline" style="line-height: 34px;">
                             <span id="accessTokenTips"></span>
                         </div>-->
                    </div>
                </div>


                <div class="layui-form-item">
                    <div class="layui-inline">
                        <label class="layui-form-label layui-form-required">钉钉群签名</label>
                        <div class="layui-input-inline" style="width: 500px;">
                            <input id="secret" maxlength="100" type="text" name="secret"
                                   th:value="${obj.secret}"
                                   class="layui-input" placeholder="请输入钉钉群签名" lay-verify="required" onchange=""/>

                        </div>
                        <!--<div class="layui-input-inline" style="line-height: 34px;">
                            <span id="titleTips"></span>
                        </div>-->
                    </div>
                </div>


                <div class="layui-form-itemsubmit" style="margin-top: 10px;">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit="" lay-filter="zmn-form-submit" id="zmn-form-submit">提交
                        </button>
                        <button class="layui-btn layui-btn-primary" id="cancleBtn"
                                onclick="parent.closeWin();">
                            取消
                        </button>
                    </div>
                </div>
                <div class="layui-split">&nbsp;</div>
            </div>
        </form>
    </div>
</div>

<script type="text/javascript" th:inline="javascript">

    var json = {
        obj: [[${obj}]],
        applicationVo: [[${applicationVo}]],
        permissionVo: [[${permissionVo}]],
        engCourseCategory: [[${engCourseCategory}]]
    };
    layui.config({
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        brs_ding_group_robot_detail: "ding/group/robot/zmn.brs.ding.group.robot.edit",
    }).use(['index', 'brs_ding_group_robot_detail']);
</script>
</body>
</html>
